<template>
  <div class="page" v-if="config">
    <slot></slot>
  </div>
</template>

<script>
import {mapState} from "vuex";
export default {
  name: "auSetting",
  data() {
    return {
      data:{}
    }
  },
  computed:{
    ...mapState({
      config:(state)=>state.config,
    })
  },
  methods:{
    loadData(){
      //获取
      this.$config.get("auSetting").then(x=>{
        this.data=x||{};
      })
    }
  },
  created() {

  }
}
</script>

<style scoped lang="scss">

</style>
